package cn.xx.user.mapper;

import cn.xx.user.domain.LoginInfo;
import org.apache.ibatis.annotations.Param;

public interface LoginInfoMapper {

    /* 查询手机号和登录的类型(用户/店家) */
    LoginInfo checkPhoneAndType(@Param("phone") String phone,@Param("type") Integer type);

    void save(LoginInfo loginInfoByUser);


    LoginInfo cheUserAndType(LoginInfo loginInfo);

}
